package ct.common.bean;

import java.io.Closeable;

/**
 * @Author Jeremy Zheng
 * @Date 2021/2/10 20:57
 * @Version 1.0
 */
//生产者接口
public interface Producer extends Closeable {

    public void setIn(DataIn in);
    public void setOut(DataOut out);

    //生产数据
    public void produce();
}
